package rcs34.android.photopublishare;

import java.util.ArrayList;

import rcs34.android.libs.ExifDriver.ExifDriver;

import android.app.Application;
import android.content.ContentValues;
import android.content.Context;
import android.net.Uri;

public class GApp extends Application{
	public static final String ACTION_SEND_CAPTURED_IMAGE="rcs34.android.photopublishare.sendcapturedimage";
	public static final String EXTRA_GEOPOINT="rcs34.android.photopublishare.extralocation";
	public static final int REQUEST_PROFILE = 33;
	public static Context context;
	public static Uri imageUri;
	public static ExifDriver exifDriver;
  public static ContentValues imageExif;
	private static ArrayList<ContentValues> configuredTargets;
	public void onCreate(){
		/*
		 * if (android.os.Build.VERSION.SDK_INT >= 9) { Log.w(LOGTAG,
		 * "Strict mode will be set"); android.os.StrictMode
		 * .setThreadPolicy(new android.os.StrictMode.ThreadPolicy.Builder()
		 * .detectAll().penaltyDeath().build()); android.os.StrictMode
		 * .setVmPolicy(new android.os.StrictMode.VmPolicy.Builder()
		 * .detectAll().penaltyDeath().build()); }
		 */
		context=this;
	}
	
	synchronized public static ArrayList<ContentValues> getConfiguredTargets(){
		return configuredTargets;
	}
	
	synchronized public static void setConfiguredTargets(ArrayList<ContentValues> _configuredTargets){
		configuredTargets=_configuredTargets;
	}
}
